/**
 * 作者: hxl
 * 日期: 2025-05-22 09:08:13
 * 备注: 联盟乱斗通行证配置表
 */
package com.motu.monstercity.server.game.commondata.union;

import io.vertx.core.json.JsonObject;

public class UnionScufflePassModel {
    protected int id; // 奖励id
    protected int num; // 击败人数
    protected String normalReward; // 普通奖励
    protected String highReward; // 进阶奖励
    protected String specialReward; // 专项奖励

    public UnionScufflePassModel() {
    }

    public UnionScufflePassModel(JsonObject obj) {
        id = obj.containsKey("id") ? obj.getInteger("id") : 0;
        num = obj.containsKey("num") ? obj.getInteger("num") : 0;
        normalReward = obj.containsKey("normal_reward") ? obj.getString("normal_reward") : "";
        highReward = obj.containsKey("high_reward") ? obj.getString("high_reward") : "";
        specialReward = obj.containsKey("special_reward") ? obj.getString("special_reward") : "";
    }

    public int getId() {
        return id;
    }

    public int getNum() {
        return num;
    }

    public String getNormalReward() {
        return normalReward;
    }

    public String getHighReward() {
        return highReward;
    }

    public String getSpecialReward() {
        return specialReward;
    }

}
